Discover gists
| #!/bin/sh | |
| # mirakc channel scan (using mirakc docker container image) | |
| # by uru (https://twitter.com/uru_2) | |
| # | |
| # require: | |
| # docker | |
| # jq | |
| set -eu | |
| export LANG=C.UTF-8 |
| #!/bin/bash | |
| # Claude Desktop Multi-Instance Launcher | |
| # | |
| # Uses Electron's --user-data-dir flag to run fully isolated instances. | |
| # Each instance gets its own data directory (config, VM bundles, SDK, sessions). | |
| # | |
| # Usage: | |
| # ./claude_quick.sh # Show interactive menu | |
| # ./claude_quick.sh <instance> # Launch named instance |
| #!/bin/bash | |
| # Claude Desktop Multi-Instance Launcher | |
| # | |
| # Uses Electron's --user-data-dir flag to run fully isolated instances. | |
| # Each instance gets its own data directory (config, VM bundles, SDK, sessions). | |
| # | |
| # Usage: | |
| # ./claude_quick.sh # Show interactive menu | |
| # ./claude_quick.sh <instance> # Launch named instance |
| """ | |
| Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
| BSD License | |
| """ | |
| import numpy as np | |
| # data I/O | |
| data = open('input.txt', 'r').read() # should be simple plain text file | |
| chars = list(set(data)) | |
| data_size, vocab_size = len(data), len(chars) |
| name | better |
|---|---|
| description | Push the current task, or a prompt the user gives, to a deeper version of itself. Use only when the user explicitly types /better or $better. |
I want a deeper version of this task, not a bigger one. Before rewriting it: (1) say what a top professional in this field would do here that I'm not asking for; (2) name the rawest material they would start from instead of what has already been digested for me; (3) name the specific methods and tools they would use; (4) say what, other than you or me, would show the result is right. Then rewrite my prompt to ask for exactly that.
| // ==UserScript== | |
| // @name Freedium Article Redirect | |
| // @namespace Violentmonkey Scripts | |
| // @run-at document-start | |
| // @match *://medium.com/* | |
| // @match *://*.medium.com/* | |
| // @match *://nytimes.com/* | |
| // @match *://*.nytimes.com/* | |
| // @match *://washingtonpost.com/* | |
| // @match *://*.washingtonpost.com/* |
Here is a guide for automatically bruteforcing 4-digit passcodes on iPhone 5 using only a computer and a USB cable (without an MFC Dongle). My device is iPhone5,2 (iPhone 5 Global) iOS 9.2 (FMI OFF), the steps below may work on other 32-bit devices or other iOS versions (see below for tested working devices and iOS versions), but shall not work on any 64-bit devices.
See https://www.reddit.com/r/setupapp/comments/1ha2arg/bruteforce_4digit_passcode_on_iphone_5_ios_9_via/ for discussions.
Updated 10 Jan. 2025:
A more powerful guide for bruteforcing 32-bit devices was released by a reddit user: https://www.reddit.com/r/setupapp/comments/1hw5bfa/bruteforcing_32bit_iphones_ondevice_4_digit_pin/
ARKit face tracking is shrouded in a ton of myth and mystique.
I reverse engineered the internal face tracking API, and this is how it actually works.
This is based on reverse engineering the API of Apple's face detection framework and testing it with my own code. Some of it is educated guesswork based on names and strings. I did not reverse engineer the details of how ARKit/FaceKit works, but given what I've seen, I'm quite confident in the overall big picture.
| /* | |
| MIT License | |
| Copyright (c) 2018 Fayaz Bin Salam | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
